package com.zls.mapper;

import com.zls.pojo.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface UserMapper {
    Long addList(@Param("userList") List<User> userList);

    @Select("select * from user where id <10")
    List<User> findList();
}
